package cn.edu.hit.core.db;

import cn.edu.hit.core.Document;

public interface DataWriter extends DataReader {
    Document save(Document document);

    Document update(Document document);

    Document saveOrUpdate(Document document);

    boolean deleteById(String _id);
}
